package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;

import java.beans.Transient;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 项目
 * </p>
 *
 * @author kutty
 * @since 2018-09-13
 */
@TableName("sys_project")
public class Project extends Model<Project> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 项目名称
     */
    private String projectname;
    /**
     * 项目英文名称
     */
    private String enprojectname;
    /**
     * 对应的是合作伙伴ID
     */
    private Integer partnerid;
    /**
     * 备注
     */
    private String remark;
    /**
     * 时间
     */
    private Date date;

    /**
     * 合伙人
     * */

    private String partnername;

    public String getPartnername() {
        return partnername;
    }

    public void setPartnername(String partnername) {
        this.partnername = partnername;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getEnprojectname() {
        return enprojectname;
    }

    public void setEnprojectname(String enprojectname) {
        this.enprojectname = enprojectname;
    }

    public Integer getPartnerid() {
        return partnerid;
    }

    public void setPartnerid(Integer partnerid) {
        this.partnerid = partnerid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Project{" +
        "id=" + id +
        ", projectname=" + projectname +
        ", enprojectname=" + enprojectname +
        ", partnerid=" + partnerid +
        ", remark=" + remark +
        ", date=" + date +
        "}";
    }
}
